package org.learn.test;
import java.util.Scanner;
public class HomeWork02 {
    public static void main(String[] args) {
        // 判断数a的范围
        Scanner myScanner = new Scanner(System.in);
        System.out.println("请输入一个整数");
        int a = myScanner.nextInt();
        if(a > 0){
            System.out.println("此数大于零");
        }else if(a < 0){
            System.out.println("此数小于零");
        }else{
            System.out.println("此数等于零");
        }
    }
}
